]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
data: Lower TimeoutStartSec in systemd units
authorIain Lane <iainl@gnome.org>
Tue, 3 Sep 2019 11:45:24 +0000 (12:45 +0100)
committerIain Lane <iain@orangesquash.org.uk>
Thu, 12 Sep 2019 08:16:10 +0000 (08:16 +0000)
If there's a stubborn process in our cgroup, we shouldn't hang around
waiting for the default (30 seconds) before the session closes. We've
logged out, SIGTERMed and the thing is refusing to go away, let's not
make people hang around for ages.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/699

data/gnome-shell-wayland.service.in
data/gnome-shell-x11.service.in

index 351571c7fc3b1c4dfaecf1b5aaccdcf1866ac943..04f94af2d64e375cdd7d2def78885d6ff60a2313 100644 (file)
@@ -23,3 +23,5 @@ ExecStart=@bindir@/gnome-shell
 SuccessExitStatus=1
 # On wayland we cannot restart
 Restart=no
+# Kill any stubborn child processes after this long
+TimeoutStopSec=5
index 2c9fec1b5abdad4e466d5af2a49747a72e5ba654..a10c33d29d6f04f431c38a59699ca2d2273f8989 100644 (file)
@@ -29,3 +29,5 @@ SuccessExitStatus=1
 Restart=always
 # Do not wait before restarting the shell
 RestartSec=0ms
+# Kill any stubborn child processes after this long
+TimeoutStopSec=5